package com.bto.solar.work.dto.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @author 王小波
 * @description:
 * @date 2023/9/11 11:18
 */
public class OrderResultExcelDto {

    @ApiModelProperty("订单ID")
    @ExcelProperty("系统编号")
    private String orderId;

    @ApiModelProperty("公司id（冗余-AP）")
    @ExcelProperty("组织id")
    private Long companyId;

    @ApiModelProperty("关联的用户id")
    private Long userId;

    @ApiModelProperty("客户id")
    private Long customerId;

    @ApiModelProperty("订单名称")
    private String name;

    @ApiModelProperty("业务类型（HY：户用，ZX：整县，GSY：工商业，HZ：户租 ZZD：真租顶）")
    private String type;

    @ApiModelProperty("经度")
    private BigDecimal lng;

    @ApiModelProperty("维度")
    private BigDecimal lat;

    @ApiModelProperty("省")
    private String provinceCode;

    @ApiModelProperty("市")
    private String cityCode;

    @ApiModelProperty("区/县")
    private String areaCode;

    @ApiModelProperty("安装地址")
    private String installationAddress;

    @ApiModelProperty("详细地址")
    private String detailedAddress;

    @ApiModelProperty("销售员")
    private String salesman;

    @ApiModelProperty("销售电话")
    private String saleTelephone;

    @ApiModelProperty("有无保证人(1：有；2：无)")
    private Byte isSurety;

    @ApiModelProperty("银行账户名（开卡人姓名）")
    private String bankAccount;

    @ApiModelProperty("开户行名称")
    private String bankName;

    @ApiModelProperty("银行卡号")
    private String bankCardNumber;

    @ApiModelProperty("开户支行")
    private String accountOpeningBranch;

    @ApiModelProperty("联行号")
    private String jointLineNumber;

    @ApiModelProperty("银行卡照片（正面）")
    private String bankCardFront;

    @ApiModelProperty("项目公司")
    private String projectCompany;

    @ApiModelProperty("是否签约（授权协议签署）0：未签署，1：已签署")
    private Byte isSigning;

    @ApiModelProperty("签约方式(APP - 签约，SMS - 短信签约)")
    private String signingType;

    @ApiModelProperty("备案证编码")
    private String recordCertificateId;

    @ApiModelProperty("承租人（项目公司）")
    private String lessee;

    @ApiModelProperty("产品地区(安装地区)")
    private String productWithArea;

    @ApiModelProperty("是否删除（0：存在，1：删除）")
    private Byte isDeleted;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;
}
